package org.huifei.a17_iterator;

import java.util.Iterator;

/**
 * @author: huifei
 * @date: 2017-09-04 11:32
 */
public interface Collection {
    public Iterator iterator();

    /*取得集合元素*/
    public Object get(int i);

    /*取得集合大小*/
    public int size();
}
